/*
package com.wgj.android.adapter;

import android.content.Context;
import android.provider.ContactsContract;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

import com.wgj.android.R;

*/
/**
 * Created by Administrator on 2018/3/15.
 *//*


public class GiftAdapter extends RecyclerView.Adapter<GiftAdapter.MyViewHolder> implements View.OnClickListener{

    private Context context;
    private LayoutInflater inflater;
    public  GiftAdapter(Context context){
        this.context = context;
        this.inflater = LayoutInflater.from(context);

    }
    @Override
    public GiftAdapter.MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {

        return new MyViewHolder(inflater.inflate(R.layout.gift_item,null));
    }

    @Override
    public void onBindViewHolder(GiftAdapter.MyViewHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return 0;
    }

    @Override
    public void onClick(View v) {

    }
     class MyViewHolder extends  RecyclerView.ViewHolder{
        private ImageView type;
        private TextView content;


        public MyViewHolder(View view) {
            super(view);
            type = view.findViewById(R.id.type);
            content = view.findViewById(R.id.content);
            time = view.findViewById(R.id.time);
        }

    }
}
*/
